/* Chat Wrapper Styles */
.chat-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #f0f0f0;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.tab:hover {
  background-color: #e0e0e0;
  color: #333;
}

.tab.active {
  background-color: #007bff;
  color: white;
}

/* Chat Room Styles */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 80vh;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.messages-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  margin-bottom: 20px;
}

.message {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #333333;
}

.message-content {
  margin-top: 8px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.chat-input:focus {
  outline: none;
  border-color: #007bff;
}

.controls-container {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px;
}

.clear-history {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background-color: #f0f0f0;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.clear-history:hover {
  background-color: #e0e0e0;
}
